home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pearl Top 100
/
Pearl Top 100.iso
/
archiv
/
sw2654.exe
/
MESSAGES.TXT
< prev
next >
Wrap
Text File
|
1994-09-10
|
11KB
|
379 lines
Einige fⁿr PROFAN-Programmierer interessante Windows-Messages (Version 3.1)
=============================================================
@SendMessage(N1,N2,N3,N4)
N1 : Integer - Handle des EmpfΣngers (Fenster, Dialogbox, Dialogelement, etc.)
N2 : Integer - Nummer der Meldung (die Zahl hinter dem Gleichheitszeichen)
N3 : Integer - 16-Bit meldungsabhΣngige Informationen
N4 : LomgInt - 32-Bit meldungsabhΣngige Informationen
wm_Clear = $303
l÷scht die aktuelle Auswahl in einem Fenster
wm_Close = $10
schlie▀t das betreffende Fenster
wm_Copy = $301
kopiert den markierten Text in die Zwischenablage
wm_Cut = $300
kopiert den markierten Text in die Zwischenablage. Der markierte Text wird gel÷scht.
wm_GetTextLength = $0E
ermittelt die LΣnge des Textes im angegebenen Steuerelement
Rⁿckgabewert: LΣnge des Textes in Bytes
wm_Paint = $0F
fordert das Fenster zum Neuzeichnen auf
wm_Paste = $302
fⁿgt Daten aus der Zwischenablage in das Fenster an der aktuellen Mauszeigerposition ein
wm_Undo = $304
macht die letzte Aktion (z.B. Cut oder Paste) wieder rⁿckgΣngig
bm_GetCkeck = $400
ermittelt, ob ein Radiobutton oder eine Ckeckbox markiert ist oder nicht
Rⁿckgabewert: 0 = nicht markiert; >0 = markiert
bm_GetState = $402
ermittelt den Status eines Buttons
Rⁿckgabewert: 0 = nicht gedrⁿckt; >0 = gedrⁿckt
bm_SetCheck = $401
markiert einen Radiobutton oder eine Checkbox
N3: 0 = nicht markieren; 1 = markieren
bm_SetState = $403
setzt den Status eines Buttons
N3: 0 = normal; 1 = hervorgehoben
em_CanUndo = $416
ermittelt, ob ein Editierfeld korrekt auf em_Undo reagieren kann
Rⁿckgabewert: 0 = kann nicht reagieren; 1 = kann reagieren
em_GetModify = $408
ermittelt, ob ein Editierfeld geΣndert wurde
Rⁿckgabewert: VerΣnderungsflag
em_LimitText = $415
bestimmt die maximale Anzahl von Zeichen, die ein Editierfeld aufnehmen darf
N3: Anzahl der Zeichen (0 = unbegrenzt)
Rⁿckgabewert: 0 = Fehler aufgetreten
em_SetModify = $409
setzt das VerΣnderungsflag
N3: VerΣnderungsflag
em_SetReadOnly = $41F
setzt eine Editierfeld in den Nur-Lesen-Status
N3: 1 = Nur-Lesen; 0 = Lesen + Schreiben
em_Undo = $417
macht die letze Aktion im Editierfeld rⁿckgΣngig
Rⁿckgabewert: 0 = Undo konnte nicht ausgefⁿhrt werden
Eine Liste aller Windowsbotschaften mit Namen und entsprechendem Wert
=====================================================================
Die Parameter und Funktion der Botschaften sind der Fachliteratur zur Winmdowsprogrammierung zu
entnehmen, z.B. "Das gro▀e Buch zu Turbo Pascal fⁿr Windows" aus dem DATA-Becker-Verlag.
wm_SetFocus = $0007
wm_KillFocus = $0008
wm_Enable = $000A
wm_SetRedraw = $000B
wm_SetText = $000C
wm_GetText = $000D
wm_GetTextLength = $000E
wm_Paint = $000F
wm_Close = $0010
wm_QueryEndSession = $0011
wm_Quit = $0012
wm_QueryOpen = $0013
wm_EraseBkGnd = $0014
wm_SysColorChange = $0015
wm_EndSession = $0016
wm_ShowWindow = $0018
wm_CtlColor = $0019
wm_WinIniChange = $001A
wm_DevModeChange = $001B
wm_ActivateApp = $001C
wm_FontChange = $001D
wm_TimeChange = $001E
wm_CancelMode = $001F
wm_SetCursor = $0020
wm_MouseActivate = $0021
wm_ChildActivate = $0022
wm_QueueSync = $0023
wm_GetMinMaxInfo = $0024
wm_PaintIcon = $0026
wm_IconEraseBkGnd = $0027
wm_NextDlgCtl = $0028
wm_SpoolerStatus = $002A
wm_DrawItem = $002B
wm_MeasureItem = $002C
wm_DeleteItem = $002D
wm_VKeyToItem = $002E
wm_CharToItem = $002F
wm_SetFont = $0030
wm_GetFont = $0031
wm_QueryDragIcon = $0037
wm_CompareItem = $0039
wm_Compacting = $0041
wm_CommNotify = $0044;
wm_WindowPosChanging = $0046;
wm_WindowPosChanged = $0047;
wm_NCCreate = $0081
wm_NCDestroy = $0082
wm_NCCalcSize = $0083
wm_NCHitTest = $0084
wm_NCPaint = $0085
wm_NCActivate = $0086
wm_GetDlgCode = $0087
wm_NCMouseMove = $00A0
wm_NCLButtonDown = $00A1
wm_NCLButtonUp = $00A2
wm_NCLButtonDblClk = $00A3
wm_NCRButtonDown = $00A4
wm_NCRButtonUp = $00A5
wm_NCRButtonDblClk = $00A6
wm_NCMButtonDown = $00A7
wm_NCMButtonUp = $00A8
wm_NCMButtonDblClk = $00A9
wm_KeyFirst = $0100
wm_KeyDown = $0100
wm_KeyUp = $0101
wm_Char = $0102
wm_DeadChar = $0103
wm_SysKeyDown = $0104
wm_SysKeyUp = $0105
wm_SysChar = $0106
wm_SysDeadChar = $0107
wm_KeyLast = $0108
wm_InitDialog = $0110
wm_Command = $0111
wm_SysCommand = $0112
wm_Timer = $0113
wm_HScroll = $0114
wm_VScroll = $0115
wm_InitMenu = $0116
wm_InitMenuPopup = $0117
wm_MenuSelect = $011F
wm_MenuChar = $0120
wm_EnterIdle = $0121
wm_MouseFirst = $0200
wm_MouseMove = $0200
wm_LButtonDown = $0201
wm_LButtonUp = $0202
wm_LButtonDblClk = $0203
wm_RButtonDown = $0204
wm_RButtonUp = $0205
wm_RButtonDblClk = $0206
wm_MButtonDown = $0207
wm_MButtonUp = $0208
wm_MButtonDblClk = $0209
wm_MouseLast = $0209
wm_ParentNotify = $0210
wm_MDICreate = $0220
wm_MDIDestroy = $0221
wm_MDIActivate = $0222
wm_MDIRestore = $0223
wm_MDINext = $0224
wm_MDIMaximize = $0225
wm_MDITile = $0226
wm_MDICascade = $0227
wm_MDIIconArrange = $0228
wm_MDIGetActive = $0229
wm_MDISetMenu = $0230
wm_DropFiles = $0233
wm_Cut = $0300
wm_Copy = $0301
wm_Paste = $0302
wm_Clear = $0303
wm_Undo = $0304
wm_RenderFormat = $0305
wm_RenderAllFormats = $0306
wm_DestroyClipboard = $0307
wm_DrawClipboard = $0308
wm_PaintClipboard = $0309
wm_VScrollClipboard = $030A
wm_SizeClipboard = $030B
wm_ChangeCBChain = $030D
wm_HScrollClipboard = $030E
wm_QueryNewPalette = $030F
wm_PaletteIsChanging = $0310
wm_PaletteChanged = $0311
wm_PenWinFirst = $0380;
wm_PenWinLast = $038F;
wm_Coalesce_First = $0390;
wm_Coalesce_Last = $039F;
{ Button Messages }
wm_User = $400
bm_GetCheck = (wm_User+0);
bm_SetCheck = (wm_User+1);
bm_GetState = (wm_User+2);
bm_SetState = (wm_User+3);
bm_SetStyle = (wm_User+4);
{ Edit Control Messages }
wm_User = $400
em_GetSel = (wm_User+0)
em_SetSel = (wm_User+1)
em_GetRect = (wm_User+2)
em_SetRect = (wm_User+3)
em_SetRectNP = (wm_User+4)
em_Scroll = (wm_User+5)
em_LineScroll = (wm_User+6)
em_GetModify = (wm_User+8)
em_SetModify = (wm_User+9)
em_GetLineCount = (wm_User+10)
em_LineIndex = (wm_User+11)
em_SetHandle = (wm_User+12)
em_GetHandle = (wm_User+13)
em_GetThumb = (wm_User+14)
em_LineLength = (wm_User+17)
em_ReplaceSel = (wm_User+18)
em_SetFont = (wm_User+19)
em_GetLine = (wm_User+20)
em_LimitText = (wm_User+21)
em_CanUndo = (wm_User+22)
em_Undo = (wm_User+23)
em_FmtLines = (wm_User+24)
em_LineFromChar = (wm_User+25)
em_SetWordBreak = (wm_User+26)
em_SetTabStops = (wm_User+27)
em_SetPasswordChar = (wm_User+28)
em_EmptyUndoBuffer = (wm_User+29)
em_GetFirstVisibleLine = (wm_User+30)
em_SetReadOnly = (wm_User+31)
em_SetWordBreakProc = (wm_User+32)
em_GetWordBreakProc = (wm_User+33)
em_GetPasswordChar = (wm_User+34)
{ Listbox messages }
wn_User = $400
lb_AddString = (wm_User+1)
lb_InsertString = (wm_User+2)
lb_DeleteString = (wm_User+3)
lb_ResetContent = (wm_User+5)
lb_SetSel = (wm_User+6)
lb_SetCurSel = (wm_User+7)
lb_GetSel = (wm_User+8)
lb_GetCurSel = (wm_User+9)
lb_GetText = (wm_User+10)
lb_GetTextLen = (wm_User+11)
lb_GetCount = (wm_User+12)
lb_SelectString = (wm_User+13)
lb_Dir = (wm_User+14)
lb_GetTopIndex = (wm_User+15)
lb_FindString = (wm_User+16)
lb_GetSelCount = (wm_User+17)
lb_GetSelItems = (wm_User+18)
lb_SetTabStops = (wm_User+19)
lb_GetHorizontalExtent = (wm_User+20)
lb_SetHorizontalExtent = (wm_User+21)
lb_SetColumnWidth = (wm_User+22)
lb_SetTopIndex = (wm_User+24)
lb_GetItemRect = (wm_User+25)
lb_GetItemData = (wm_User+26)
lb_SetItemData = (wm_User+27)
lb_SelItemRange = (wm_User+28)
lb_SetCaretIndex = (wm_User+31)
lb_GetCaretIndex = (wm_User+32)
lb_SetItemHeight = (wm_User+33)
lb_GetItemHeight = (wm_User+34)
lb_FindStringExact = (wm_User+35)
{ Combo Box messages }
wm_User = $400
cb_GetEditSel = (wm_User+0)
cb_LimitText = (wm_User+1)
cb_SetEditSel = (wm_User+2)
cb_AddString = (wm_User+3)
cb_DeleteString = (wm_User+4)
cb_Dir = (wm_User+5)
cb_GetCount = (wm_User+6)
cb_GetCurSel = (wm_User+7)
cb_GetLBText = (wm_User+8)
cb_GetLBTextLen = (wm_User+9)
cb_InsertString = (wm_User+10)
cb_ResetContent = (wm_User+11)
cb_FindString = (wm_User+12)
cb_SelectString = (wm_User+13)
cb_SetCurSel = (wm_User+14)
cb_ShowDropDown = (wm_User+15)
cb_GetItemData = (wm_User+16)
cb_SetItemData = (wm_User+17)
cb_GetDroppedControlRect = (wm_User+18)
cb_SetItemHeight = (wm_User+19)
cb_GetItemHeight = (wm_User+20)
cb_SetExtendedUI = (wm_User+21)
cb_GetExtendedUI = (wm_User+22)
cb_GetDroppedState = (wm_User+23)
cb_FindStringExact = (wm_User+24)
{ DDE messages }
wm_dde_First = $03E0
wm_dde_Initiate = wm_dde_First
wm_dde_Terminate = wm_dde_First+1
wm_dde_Advise = wm_dde_First+2
wm_dde_Unadvise = wm_dde_First+3
wm_dde_Ack = wm_dde_First+4
wm_dde_Data = wm_dde_First+5
wm_dde_Request = wm_dde_First+6
wm_dde_Poke = wm_dde_First+7
wm_dde_Execute = wm_dde_First+8